<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() +  path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %> 

<!doctype html>
<html lang="zh-hans">
<%@ include file="_header.jsp" %>


<script type="text/javascript">
function tijiao(state){
	$('#state').val(state);
	document.form1.submit();
}

</script>

<body>   
<%@ include file="_daohang.jsp" %>

<!-- 每个页面的模板，以下是正文 -->    

<div class="panel-body">
           
<!-- ################# form START ###################  -->

<form name="form1" action="change_own" method="post">

<!-- 隐藏数据域  START -->
<div class="input-group hide">
<input type="text" class="form-control" name="openId" readonly="readonly" value="<s:property value="openId"/>" >
<input type="text" class="form-control" id="cid" name="cid" value="<s:property value="cid"/>" >
<input type="text" class="form-control" id="tip" name="tip" value="<s:property value="tip"/>" >

<input type="text" class="form-control" id="state" name="state" value="<s:property value="formbean.state"/>" >
<input type="text" class="form-control" id="locked" name="locked" value="<s:property value="formbean.locked"/>" >
<input type="text" class="form-control" id="result" name="result" value="<s:property value="formbean.result"/>" >



</div>
<!-- 隐藏数据域  END -->
</form>


<div id="mydiv_1" class="jumbotron">
<div class="container">
    <h3><s:property value="tip"/></h3>
	<s:if test='formbean.flag==0'>
		<p class="col-xs-6"><a class="btn btn-primary btn-lg" href="#"  onclick="tijiao(1)"  role="button">确定</a></p>
		<p class="col-xs-6"><a class="btn btn-primary btn-lg" href="#" onclick="history.go(-1)"  role="button">返回</a></p>
	</s:if>
	
	<s:if test='formbean.flag==1'>
		<p class="col-xs-6"><a class="btn btn-primary btn-lg" href="#"  onclick="tijiao(1)"  role="button">确定</a></p>
		<p class="col-xs-6"><a class="btn btn-primary btn-lg" href="#" onclick="history.go(-1)"  role="button">返回</a></p>
	</s:if>
    
    <s:if test='formbean.flag==2'>
		<p class="col-xs-6"><a class="btn btn-primary btn-lg" href="kh_do?openId=<s:property value="openId"/>"  role="button">选择客户</a></p>
	</s:if>
    
</div>

</div>







</div><!--form-group-->

</body>
</html>